package com.zbkj.common.request.project;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @Auther:
 * @Date: 2024/7/6 14:16
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ClientProjectRequest对象", description = "客户端项目上传资料保存请求对象")
public class ClientInformationRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("资料类型：1 项目文档")
    @NotNull(groups = {ClientProjectRequest.CreateProjectGroup.class,ClientProjectRequest.ResubmitProjectGroup.class}, message = "缺少资料类型参数")
    private Integer fileType;

    @ApiModelProperty("资料名称-原文件名称")
    @NotBlank(groups = {ClientProjectRequest.CreateProjectGroup.class,ClientProjectRequest.ResubmitProjectGroup.class}, message = "缺少资料名称参数")
    private String fileName;

    @ApiModelProperty("资料存储路径")
    @NotBlank(groups = {ClientProjectRequest.CreateProjectGroup.class,ClientProjectRequest.ResubmitProjectGroup.class}, message = "缺少资料存储路径参数")
    private String filePath;

    @ApiModelProperty("前端上传顺序")
    private Integer sortNum;

}
